.TabsRoot {
  margin-top: 5px;
}

.TabsList {
  display: flex;
}

.TabsTrigger {
  all: unset;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  max-width: 100%;
  height: 24px;
  padding: 6px 24px;

  color: var(--color-light-100);

  background: transparent;
  border: 1px solid var(--color-dark-300);
  border-left: none;

  transition: all 0.3s;

  @media screen and (width <= 768px) {
    width: 100%;
  }
}

.TabsTrigger:hover {
  background-color: var(--color-dark-700);
  border-color: var(--color-dark-100);
}

.TabsRoot:has(:focus-visible) {
  border-radius: 2px;
  outline: 2px solid var(--color-info-700);
  outline-offset: -1px;
}

.TabsTrigger:disabled {
  cursor: initial;
  color: var(--color-dark-300);
  background-color: var(--color-dark-700);
  border-color: var(--color-dark-300);
}

.TabsTrigger:not(:first-child, :last-child) {
  border-right: 1px solid var(--color-dark-300);
  border-left: none;
}

.TabsTrigger[data-state='active'] {
  background-color: var(--color-accent-500);
  border-color: var(--color-accent-500);
}

.TabsTrigger:first-child[data-state='active'] {
  background-color: var(--color-accent-500);
  border-color: var(--color-accent-500);
}

.TabsTrigger:first-child {
  border-left: 1px solid var(--color-dark-300);
  border-radius: 2px 0 0 2px;
}

.TabsTrigger:last-child {
  border-right: 1px solid var(--color-dark-300);
  border-radius: 0 2px 2px 0;
}

.TabsTrigger:last-child[data-state='active'] {
  background-color: var(--color-accent-500);
  border-color: var(--color-accent-500);
}
